TypeError: 'str' object cannot be interpreted as an integer when opening a file

visit shbcf.ru